<% form_for(:flash, :url => {:action=>'create_flash'}, :html => { :multipart => true }) do |f| -%> <p> 
               <label for="picture">增加flash:</label> 
             <%= f.file_field :uploaded_data %> 
             <%= submit_tag '添加' , :class=>"Button" %> </p> 
          <% end -%>
